﻿@using CQIE.TES.Model
@using CQIE.TES.WEB.USER.Models
@{
    Layout = null;
}

<!DOCTYPE html>

<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>教师评教页面</title>
    <link rel="stylesheet" href="~/Content/layui/css/layui.css">
    <link href="~/Content/css/TeacherEva.css" rel="stylesheet" />
    <script src="~/Content/layui/layui.js"></script>
    <script>
        sessionStorage.setItem("uid",@ViewBag.tid);
        sessionStorage.setItem("tId",@ViewBag.tid);
    </script>
</head>

<body>
    <!-- 修改密码弹出层开始 -->
    <div style="display: none; padding: 20px;" id="saveOrUpdateDiv">
        <form class="layui-form" lay-filter="dataFrm" id="dataFrm" style="margin-top:20px">

            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label" style="width: 100px;">请输入新密码：</label>
                    <div class="layui-input-inline">
                        <input type="password" name="psw" lay-verify="required" autocomplete="off"
                               class="layui-input">
                    </div>
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label" style="width: 100px;">请确认新密码：</label>
                    <div class="layui-input-inline">
                        <input type="password" name="qpsw" lay-verify="required" autocomplete="off"
                               class="layui-input">
                    </div>
                </div>
            </div>

            <div class="layui-form-item" style=" margin-top:30px">
                <div class="layui-input-block">
                    <button type="button"
                            class="layui-btn layui-btn-normal  layui-icon layui-icon-upload-circle"
                            lay-filter="doSubmit" lay-submit="">
                        提交
                    </button>
                    <button type="reset"
                            class="layui-btn  layui-btn-warm layui-btn-primary layui-icon layui-icon-refresh">
                        重置
                    </button>
                </div>
            </div>
        </form>
    </div>
    <!-- 修改密码弹出层结束 -->
    <div class="header">
    </div>
    <div class="nav">
        <div class="layui-tab">
            <ul class="layui-tab-title">
                <li class="layui-this">自我评价</li>
                <li>教师互评</li>
                @if (ViewBag.Role==2||ViewBag.Role==4)
                {
                    <li>教研室评教</li>
                }
                @if (ViewBag.Role == 3 || ViewBag.Role == 4)
                {
                    <li>系部评教</li>
                }

                <div id="name">
                    <ul class="layui-nav layui-layout-right">
                        <li class="layui-nav-item">
                            <a href="javascript:;" style="color: black;">
                                @ViewBag.UserName
                            </a>
                            <dl class="layui-nav-child">
                                <dd><button class="layui-btn layui-btn-sm layui-btn-primary" id="btn">修改密码</button></dd>

                            </dl>
                        </li>
                        <li class="layui-nav-item"><a href="/Login" style="color: black;">退出</a></li>
                    </ul>
                </div>
            </ul>

            <div class="layui-tab-content">
                <div class="layui-tab-item layui-show">
                    @Html.Partial("Part/SelfEva")
                </div>
                <div class="layui-tab-item">
                    @Html.Partial("Part/TeacherEvaTeacher")
                </div>
                <div class="layui-tab-item">
                    @Html.Partial("Part/TeachingOffice")
                </div>
                <div class="layui-tab-item">
                    @Html.Partial("Part/Department")
                </div>
            </div>
        </div>
    </div>
    
    
</body>

</html>
